package com.wan.service;

import com.wan.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sf
 * @since 2025-01-15
 */
public interface IOrderService extends IService<Order> {

    List<Order> getOrdersByStatusAndUserId(String status, String userId);

    Order getOrderById(Long orderId);

    boolean updateOrderStatus(Long orderId, String status);

    boolean ShippingCode(Long orderId, String shippingCode);

    boolean deleteOrder(Long orderId);

    String exportOrderData();
}
